package com.entity;

public class Storage {
    private Integer id;

    /** 入库记录编码 */
    private String srcode;

    /** 供货商ID */
    private Integer supplierId;

    /** 商品名称 */
    private String goodName;

    /** 商品描述 */
    private String goodsDesc;

    /** 商品单位 */
    private String goodsUnit;

    /** 入库数量 */
    private Integer goodsCount;

    /** 入库商品总额 */
    private Double totalAmount;

    /** 支付状态 (1: 未支付 2: 已支付) */
    private Integer payStatus;

    /** 创建人id */
    private Integer createdUserId;

    /** 创建时间 */
    private String createdTime;

    /** 修改人id */
    private Integer updatedUserId;

    /** 修改时间 */
    private String updatedTime;

    /** 供货商 */
    private String supplierName;

    private String goodsName;

    /** 入库数量 */
    private Integer goodsCounts;

    private Supplier supplier;

    private String srCode;



    public Storage() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getSrcode() {
        return srcode;
    }

    public void setSrcode(String srcode) {
        this.srcode = srcode;
    }

    public Integer getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Integer supplierId) {
        this.supplierId = supplierId;
    }

    public String getGoodName() {
        return goodName;
    }

    public void setGoodName(String goodName) {
        this.goodName = goodName;
    }

    public String getGoodsDesc() {
        return goodsDesc;
    }

    public void setGoodsDesc(String goodsDesc) {
        this.goodsDesc = goodsDesc;
    }

    public String getGoodsUnit() {
        return goodsUnit;
    }

    public void setGoodsUnit(String goodsUnit) {
        this.goodsUnit = goodsUnit;
    }

    public Integer getGoodsCount() {
        return goodsCount;
    }

    public void setGoodsCount(Integer goodsCount) {
        this.goodsCount = goodsCount;
    }

    public Double getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(Double totalAmount) {
        this.totalAmount = totalAmount;
    }

    public Integer getPayStatus() {
        return payStatus;
    }

    public void setPayStatus(Integer payStatus) {
        this.payStatus = payStatus;
    }

    public Integer getCreatedUserId() {
        return createdUserId;
    }

    public void setCreatedUserId(Integer createdUserId) {
        this.createdUserId = createdUserId;
    }

    public String getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(String createdTime) {
        this.createdTime = createdTime;
    }

    public Integer getUpdatedUserId() {
        return updatedUserId;
    }

    public void setUpdatedUserId(Integer updatedUserId) {
        this.updatedUserId = updatedUserId;
    }

    public String getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(String updatedTime) {
        this.updatedTime = updatedTime;
    }

    public String getSupplierName() {
        return supplierName;
    }

    public void setSupplierName(String supplierName) {
        this.supplierName = supplierName;
    }

    public Supplier getSupplier() {
        return supplier;
    }

    public void setSupplier(Supplier supplier) {
        this.supplier = supplier;
    }

    public Storage(Integer id, String srcode, Integer supplierId, String goodName, String goodsDesc, String goodsUnit, Integer goodsCount, Double totalAmount, Integer payStatus, Integer createdUserId, String createdTime, Integer updatedUserId, String updatedTime, String supplierName, String goodsName, Integer goodsCounts) {
        this.id = id;
        this.srcode = srcode;
        this.supplierId = supplierId;
        this.goodName = goodName;
        this.goodsDesc = goodsDesc;
        this.goodsUnit = goodsUnit;
        this.goodsCount = goodsCount;
        this.totalAmount = totalAmount;
        this.payStatus = payStatus;
        this.createdUserId = createdUserId;
        this.createdTime = createdTime;
        this.updatedUserId = updatedUserId;
        this.updatedTime = updatedTime;
        this.supplierName = supplierName;
        this.goodsName = goodsName;
        this.goodsCounts = goodsCounts;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public Integer getGoodsCounts() {
        return goodsCounts;
    }

    public void setGoodsCounts(Integer goodsCounts) {
        this.goodsCounts = goodsCounts;
    }

    public String getSrCode() {
        return srCode;
    }

    public void setSrCode(String srCode) {
        this.srCode = srCode;
    }

    @Override
    public String toString() {
        return "Storage{" +
                "id=" + id +
                ", srcode='" + srcode + '\'' +
                ", supplierId=" + supplierId +
                ", goodName='" + goodName + '\'' +
                ", goodsDesc='" + goodsDesc + '\'' +
                ", goodsUnit='" + goodsUnit + '\'' +
                ", goodsCount=" + goodsCount +
                ", totalAmount=" + totalAmount +
                ", payStatus=" + payStatus +
                ", createdUserId=" + createdUserId +
                ", createdTime='" + createdTime + '\'' +
                ", updatedUserId=" + updatedUserId +
                ", updatedTime='" + updatedTime + '\'' +
                ", supplierName='" + supplierName + '\'' +
                ", goodsName='" + goodsName + '\'' +
                ", goodsCounts=" + goodsCounts +
                '}';
    }
}
